package com.ddlx.test.binder.activity;

import com.ddlx.test.binder.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

public class IntentActivity extends Activity  {
	@Override
	public void onCreate(Bundle savedInstanceState ) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_intent);
		
		findViewById(R.id.exit).setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				finish();
			}
		});
		
		TextView textView = (TextView)findViewById(R.id.show_info);
		
		textView.setText("成功打开Activity.\n"+"intent:"+getIntent());
	}
}
